package com.tian.service;

import com.tian.common.CommonResult;
import com.tian.common.PageResult;
import com.tian.dto.ChargeActivityConditionAddReqDto;
import com.tian.dto.ChargeActivityConditionPageReqDto;
import com.tian.dto.ChargeActivityConditionRespDto;
import com.tian.dto.ChargeActivityConditionUpdateReqDto;

import java.util.List;

/**
 * {@code @description:} 活动条件
 *
 * @author tianwc 公众号：Java后端技术全栈
 * 在线刷题 1200+java面试题和1000+篇技术文章：<a href="https://woaijava.cc/">博客地址</a>
 * {@code @date:} 2024-08-05 22:47
 * {@code @version:} 1.0
 */
public interface ChargeActivityConditionService {
    CommonResult<Boolean> add(ChargeActivityConditionAddReqDto chargeActivityConditionAddReqDto);

    CommonResult<PageResult<List<ChargeActivityConditionRespDto>>> page(ChargeActivityConditionPageReqDto chargeActivityConditionPageReqDto);

    CommonResult<Boolean>  update(ChargeActivityConditionUpdateReqDto chargeActivityConditionUpdateReqDto);

    CommonResult<Boolean>  delete(ChargeActivityConditionUpdateReqDto chargeActivityConditionUpdateReqDto);

    CommonResult<ChargeActivityConditionRespDto> findById(Integer id);
}
